docker search jenkins
# 下载镜像
docker pull jenkinsci/blueocean
# 创建目录
mkdir -p /usr/local/jenkins/data
#目录赋予权限
chmod -R a+w /usr/local/jenkins/data/
#启动jenkins
docker run --restart=always \
           --privileged=true \
           -itd \
           --name jenkins \
           -v /usr/local/jenkins/data:/var/jenkins_home/ \
           -p 8080:8080 -p 50000:50000 \
           jenkinsci/blueocean


wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.34/bin/apache-tomcat-8.5.34.tar.gz